package modelo;

public class Medico extends Usuario{
    private String crm;

    public String getCrm() {
        return crm;
    }

    public void setCrm(String crm) {
        this.crm = crm;
    }
    
    public boolean igual(Medico medico) {
        if (this.crm.equals(medico.crm)) {
            return true;
        } else {
            return false;
        }
    }
}
